package com.archerdu.apply.service.impl;

import com.archerdu.apply.dao.FunctionDAO;
import com.archerdu.apply.model.Function;
import com.archerdu.apply.service.FunctionManager;
import com.archerdu.base.dao.IBaseDao;
import com.archerdu.base.service.BaseManager;

public class FunctionManagerImpl
        extends BaseManager<Function, Integer>
        implements FunctionManager {
    
    private static final long serialVersionUID = 9163067090144196614L;
    
    private FunctionDAO       menuDao;
    
    public FunctionDAO getFunctionDao() {
        return menuDao;
    }
    
    public void setFunctionDao(FunctionDAO menuDao) {
        this.menuDao = menuDao;
    }
    
    @Override
    protected IBaseDao<Function, Integer> getDao() {
        return (IBaseDao<Function, Integer>) menuDao;
    }
    
}
